<script lang="ts" setup>


const show = ref(false);

setTimeout(() => {
  show.value = true;
}, 2000);

</script>
<template>
  <div>

    <div class="test animate__animated" :class="{ animate__backInLeft: show }" v-if="show">你好啊</div>

  </div>
</template>
<style scoped>
.test {
  width: 200px;
  height: 200px;
  background-color: red;
  margin-left: 200px;
}
</style>
